﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShiBieProject
{
    //模板枚举
    class ModelEnum
    {
        public static int UNKNOWN = 10000;//未知

        public static int FAIL = -1;//失败废弃
        public static int CUSTOM = 0;//自定义
        public static int   JDCFP = 1;//机动车
        public static int   TRAIN = 2;//火车票
        public static int ZZS_INVOICE = 3;//增值税
        public static int FLY = 4;//飞机发票
        public static int DIANZI_INVOICE = 6;//电子发票


        public static string Janurary = "01";//一月
        public static string February = "02";//二月
        public static string March = "03";//三月
        public static string April = "04";//四月
        public static string May = "05";//五月
        public static string June = "06";//六月
        public static string July = "07";//七月
        public static string August = "08";//八月
        public static string September = "09";//九月
        public static string October = "10";//十月
        public static string November = "11";//十一月
        public static string December = "12";//十二月

        public static string getBillType(int mubantype)
        {
            String billtype = "未知";
            if (mubantype == ModelEnum.JDCFP)
            {
                billtype = "机动车销售发票模板";
            }
            if (mubantype == ModelEnum.TRAIN)
            {
                billtype = "火车票模板类型";
            }
            if (mubantype == ModelEnum.ZZS_INVOICE)
            {
                billtype = "增值税专用发票模板";
            }
            if (mubantype == ModelEnum.FLY)
            {
                billtype = "飞机票模板类型";
            }
            if (mubantype == ModelEnum.DIANZI_INVOICE)
            {
                billtype = "电子发票模板类型";
            }
            return billtype;
        }

    }
}
